﻿using pTools.cMethods;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace pTools.ChildWin
{
    public partial class GxDetailWin : Form
    {
        string vplCode = "", vgxCode = "";
        DBHelper db;
        public GxDetailWin(string plCode,string gxCode)
        {
            InitializeComponent();
            vgxCode = gxCode;
            vplCode = plCode;
            db = new DBHelper();
        }

        private void GxDetailWin_Load(object sender, EventArgs e)
        {
            try
            {
                gxInfoShow();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        private void gxInfoShow()
        {

            System.Diagnostics.Process.Start(string.Format("http://localhost:3710/System/SSOLogin?userCode={0}&baseCode={1}&plCode={2}&gxCode={3}", CommonMethods.userCode, CommonMethods.baseCode, vplCode, vgxCode));

        }
    }
}
